package org.william.provider.service;

import org.apache.dubbo.config.annotation.Service;
import org.william.api.pojo.User;
import org.william.api.service.IUserService;

@Service(version = "1.0")
public class UserServiceImpl implements IUserService {
    @Override
    public User selectUserById(Integer id) {
        User user = new User();
        user.setUserId(id);
        user.setUsername("William");
        System.out.println("接收到客户端id：" + id);
        return user;
    }
}
